package com.itheima.dao;

import com.itheima.pojo.Member;

import java.util.List;
import java.util.Map;

/**
 * @author ：CUI
 * @date ：Created in 2019/7/1
 * @description ：
 * @version: 1.0
 */
public interface MemberDao {
    Member findByTelephone(String telephone);

    void add(Member member);

    Member findById(Integer memberId);

    int getMemberCountByMonth(String s);

    List<Map<String,Object>> getMemberReportBySex();

    List<Map<String,Object>> getSexRepot();

    List<Map<String,Object>> findByMemberAge();
}
